package com.yc.fresh.bean;

import java.util.Objects;

/**
 * 会员信息
 * @Auther: HuYang
 * @Date: 2022/11/28 - 11 - 28 - 21:43
 * @Description: com.yc.fresh.bean
 * @version: 1.0
 */
public class MemberInfo {
    private Long mno;
    private String nickName;
    private String realName;
    private String pwd;
    private String tel;
    private String email;
    private String photo;
    private String regDate;
    private Integer status;


    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof MemberInfo)) return false;
        MemberInfo that = (MemberInfo) o;
        return Objects.equals(mno, that.mno) && Objects.equals(nickName, that.nickName) && Objects.equals(realName, that.realName) && Objects.equals(pwd, that.pwd) && Objects.equals(tel, that.tel) && Objects.equals(email, that.email) && Objects.equals(photo, that.photo) && Objects.equals(regDate, that.regDate) && Objects.equals(status, that.status);
    }

    @Override
    public int hashCode() {
        return Objects.hash(mno, nickName, realName, pwd, tel, email, photo, regDate, status);
    }

    @Override
    public String toString() {
        return "MemberInfo{" +
                "mno=" + mno +
                ", nickName='" + nickName + '\'' +
                ", realName='" + realName + '\'' +
                ", pwd='" + pwd + '\'' +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", photo='" + photo + '\'' +
                ", regDate='" + regDate + '\'' +
                ", status=" + status +
                '}';
    }

    public Long getMno() {
        return mno;
    }

    public void setMno(Long mno) {
        this.mno = mno;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getRegDate() {
        return regDate;
    }

    public void setRegDate(String regDate) {
        this.regDate = regDate;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
